home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
gprof
/
gpfsrc07.zoo
/
test2.tcov
< prev
Wrap
Text File
|
1991-07-15
|
1KB
|
51 lines
void call_bar_function_recr(p)
int *p;
1000 -> {}
void foo(p)
int *p;
1000 -> {
call_bar_function_recr(p);
}
int factorial_function(n)
int n;
5000 -> {
if(n <= 1)
500 -> return 1;
else
4500 -> return n * factorial_function(n - 1);
}
int main()
1 -> {
int i;
for(i = 0; i < 500; i++) factorial_function(10);
1 -> for(i = 0; i < 1000; i++) foo(&i);
1 -> return 0;
}
Top 10 Blocks
Line Count
13 5000
17 4500
3 1000
7 1000
15 500
21 1
25 1
27 1
8 Basic blocks in this file
8 Basic blocks executed
100.00 Percent of the file executed
12003 Total basic block executions
1500.38 Average executions per basic block